//
//  EmptyViewKitTool.h
//  AFNetworking
//
//  Created by 海参 on 2022/6/29.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN



#ifndef SCREEN_WIDTH
#define SCREEN_WIDTH ([[UIScreen mainScreen] bounds].size.width)
#define SCREEN_HEIGHT ([[UIScreen mainScreen] bounds].size.height)
#endif

#ifndef SCREEN_MAX_LENGTH
#define SCREEN_MAX_LENGTH (MAX(SCREEN_WIDTH, SCREEN_HEIGHT))
#define SCREEN_MIN_LENGTH (MIN(SCREEN_WIDTH, SCREEN_HEIGHT))
#endif

//设置iphone6尺寸比例/竖屏,UI所有设备等比例缩放
#ifndef LCDScale_iPhone6
#define LCDScale_iPhone6(X)    ((X)*SCREEN_MIN_LENGTH/375.f)
#endif

@interface CAIImagePickerKitTool : NSObject

+ (NSBundle *)bundle;

+ (UIImage *)imageNamed:(NSString *)name;


+ (CGFloat)safeAreaStatusBarHeight;




+ (UIImage *)fixOrientation:(UIImage *)aImage;


+ (NSString *)localizedString2FromDate:(NSDate *)date
                            dateFormat:(NSString *)format;
@end


NS_ASSUME_NONNULL_END



